<?php
include_once ($_SERVER['DOCUMENT_ROOT'].'/global.php');
$array = array();
$sql="Update Worker set IsDelete = 1,person_id = person_id*1000000+FLOOR(RAND() * 1000) where id = {$_GET['person_id']}";
$query = $mysqli->query($sql);
echo json_encode(1);
exit;
?>
